home *** CD-ROM | disk | FTP | other *** search
- LEN(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- LLEENN - Determines the length of a character string
-
- SSYYNNOOPPSSIISS
- LLEENN (([SSTTRRIINNGG==]_s_t_r_i_n_g))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The LLEENN intrinsic function takes Fortran character string arguments
- and returns an integer length. This function accepts the following
- argument:
-
- _s_t_r_i_n_g Must be of type character. It can be scalar or array
- valued.
-
- LLEENN is an inquiry function. The name of this intrinsic can be passed
- as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result type, type parameter, and shape are default integer scalar.
- The result has a value equal to the number of characters in _s_t_r_i_n_g if
- it is a scalar or in an element of _s_t_r_i_n_g if it is array valued.
-
- EEXXAAMMPPLLEESS
- The following program returns the length of the character string II==3377:
-
- PROGRAM LENTEST
- I=LEN('|...+....1....+....2....+....3....+..')
- PRINT *,I
- STOP
- END
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-